package com.hutao.manage.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.hutao.manage.util.StringUtil;

/**
 * 药物过敏明细
 * @author lyh
 *
 */
public class HospitalVisitDrugAllergyRecord {

	/**
	 * 过敏药物类型编号
	 */
	private String drugAllergyTypeCode;
	
	/**
	 * 过敏药物类型名称
	 */
	private String drugAllergyTypeName;
	
	/**
	 * 过敏药物名称
	 */
	private String drugAllergyName;
	
	@JsonIgnore
    public boolean isEmpty(){
    	if(this.getDrugAllergyTypeName() == null && this.getDrugAllergyName() == null){
    		return true;
    	}
    	return false;
    }

	public String getDrugAllergyTypeCode() {
		return StringUtil.meaningStr(drugAllergyTypeCode);
	}

	public void setDrugAllergyTypeCode(String drugAllergyTypeCode) {
		this.drugAllergyTypeCode = drugAllergyTypeCode;
	}

	public String getDrugAllergyTypeName() {
		return StringUtil.meaningStr(drugAllergyTypeName);
	}

	public void setDrugAllergyTypeName(String drugAllergyTypeName) {
		this.drugAllergyTypeName = drugAllergyTypeName;
	}

	public String getDrugAllergyName() {
		return StringUtil.meaningStr(drugAllergyName);
	}

	public void setDrugAllergyName(String drugAllergyName) {
		this.drugAllergyName = drugAllergyName;
	}
	
	
}
